import request from '@/utils/request'

export function storeIndex(query) {
  return request({
    url: '/store/index',
    method: 'get',
    params: query
  })
}

export function storeHouse(query) {
  return request({
    url: '/store/house',
    method: 'get',
    params: query
  })
}
export function storeAdd(data) {
  return request({
    url: '/store/add',
    method: 'post',
    data
  })
}

export function addStoreHouse(data) {
  return request({
    url: '/store/addStoreHouse',
    method: 'post',
    data
  })
}
